package utils;

public interface Commands {
	public static final String sire_python = "sire_python";
	public static final String Showstats = "showstats -v";
	public static final String  Nodes = "showstats -v | grep \"Current Active/Total Nodes\" | awk '{ print($4) }'";
	public static final String  Procs = "showstats -v | grep \"Current Active/Total Procs\" | awk '{ print($4) }'";
	public static final String ActiveJobs = "showstats -v | grep \"Active Jobs\" | awk '{ print($3) }'";
	public static final String Qtime = "showstats -v | grep \"Avg/Max QTime\" | awk '{ print($4) }'";
	public static final String Compjobs = "showstats -v | grep \"Successful/Completed Jobs:\" | awk '{ print($4) }' | sed 's/(//g' | sed 's/%//g' | sed 's/)//g'";
	public static final String Procshours = "showstats -v | grep \"Dedicated/Total ProcHours\" | awk '{ print($4) }' | sed 's/(//g' | sed 's/%//g' | sed 's/)//g'";
	public static final String Minutil = "showstats -v | grep \"Min System Utilization:\" | awk '{ print($4) }' | sed 's/%//g'";
	
	public static final String QueuedJobs = "qstat | awk '{print($(NF-1))}' | grep 'Q' | wc -l";
	public static final String CpuClockSpeed = "cat /proc/cpuinfo | grep \"cpu MHz\" | awk '{print $4}' | uniq";
	public static final String IdleJobs = "showq | grep 'Idle Jobs:' | awk '{print $9}'";
	public static final String BlockedJobs = "showq | grep 'Idle Jobs:' | awk '{print $NF}'";
	
}
